<template>
    <div>

    </div>
</template>
<script lang="ts" setup name="DataProcessingDagNode">
import { ref, onMounted, reactive } from 'vue';
const plusActionSelected = ref<boolean>(false)

// 创建下游的节点和边
const createDownstream = (type: any) => {
    const { node } = this.props
    const { graph } = node.model || {}
    if (graph) {
        // 获取下游节点的初始位置信息
        const position = getDownstreamNodePosition(node, graph)
        // 创建下游节点
        const newNode = createNode(type, graph, position)
        const source = node.id
        const target = newNode.id
        // 创建该节点出发到下游节点的边
        createEdge(source, target, graph)
    }
}
</script>
<style></style>